package com.cmwa.solution.sys.opinion.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cmwa.solution.sys.opinion.dao.HistoryOpinionDao;
import com.cmwa.solution.sys.opinion.entity.HistoryOpinionVo;
import com.cmwa.solution.sys.opinion.service.HistoryOpinionService;

/**
 *@author
 *@date
 *@des		
 */
@Service
public class HistoryOpinionServiceImpl implements HistoryOpinionService{
	
	@Resource
	private HistoryOpinionDao historyOpinionDao;

	@Override
	public void addHistoryOpinionInfo(HistoryOpinionVo historyOpinionVo) {
		historyOpinionDao.addHistoryOpinionInfo(historyOpinionVo);
	}

	@Override
	public List<HistoryOpinionVo> queryHistoryOpinionInfoById(HistoryOpinionVo historyOpinionVo) {
		return historyOpinionDao.queryHistoryOpinionInfoById(historyOpinionVo);
	}

	@Override
	public void batchInsertHistoryOpinionInfo(List<HistoryOpinionVo> historyOpinionList) {
		historyOpinionDao.batchInsertHistoryOpinionInfo(historyOpinionList);
	}

}
